#include "DataStructure/Result/ElementalStrain/BUSHStrainData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::Post;

bool SG::DataStructure::Post::operator== (const BUSHStrainData& val1, const BUSHStrainData& val2)
{
    FIELD_COMPARE (m_eId)
    FIELD_COMPARE (m_TX)
    FIELD_COMPARE (m_TY)
    FIELD_COMPARE (m_TZ)
    FIELD_COMPARE (m_RX)
    FIELD_COMPARE (m_RY)
    FIELD_COMPARE (m_RZ)
    FIELD_COMPARE (m_domainId)  // NOLINT(readability-simplify-boolean-expr)
    return true;
}

bool SG::DataStructure::Post::operator< (const BUSHStrainData& a, const BUSHStrainData& b)
{
    return a.m_eId < b.m_eId;
}
